<%@page import="com.kaishengit.pms.entity.Project"%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE HTML>
<html lang="en-US">
<head>
	<meta charset="UTF-8">
	
	<link rel="stylesheet" href="css/bootstrap.min.css" type="text/css" />
	<script type="text/javascript" src="js/jquery.js"></script>
	<script type="text/javascript" src="js/bootstrap.min.js"></script>
	<style type="text/css">
		body{
			background-image:url(img/bb.jpg);
			background-repeat:repeat-x;
		}
		#div1{
			background-color:;
		}
		#div2{
			background-color:#cff;
		}
	</style>
	<title>项目列表</title>
</head>
<body>
	<%@ include file="include/main-top.jsp" %>
 	
	<div class="container well" id="div1">
		<a href="jump.jspx?m=addpro" class="btn btn-primary">+　添加新项目</a>
		<a href="jump.jspx?m=addemp" class="btn btn-primary">+　添加新成员</a>
		<h3>项目列表</h3>
		<!-- 在此迭代的是所有项目 -->
		
			<c:forEach items="${projectList }" var="project">
			   <ul class="breadcrumb" style="margin-bottom:0px;border-radius: 3px 3px 0 0;margin-top:15px;">
					<li class="active">
						<a href="project.jspx?id=${project.id }&${session.getAttribute('em')}"><i class="icon-th" ></i>${project.name }</a>
					</li>
				</ul>
				<div class="well" style="background-color:#F0FFFF;font-size:20px;">
					<p>${project.desc }</p>
				</div>
			</c:forEach>
		
	</div>
</body>
</html>
